package com.sc.nft.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.entity.MallCategory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sc.nft.entity.vo.MallCategoryVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * IP商城分类表(sc_mall_category)数据Mapper
 *
 * @author zxy
 * @description IP商城
 * @since 2023-05-10 16:59:01
 */
@Mapper
public interface MallCategoryMapper extends BaseMapper<MallCategory> {

    /**
     * 分页获取分类列表
     *
     * @param page
     * @return
     */
    IPage<MallCategoryVO> categoryPage(Page page, @Param("name") String name, @Param("isVirtual") Boolean isVirtual);
}
